// 导入express
const express = require('express')

// 获取路由实例
const router = express.Router()

// 导入获取部门信息处理函数
const departmentHandler = require('../router-handler/departments')

// 获取部门信息路由
router.get('/departments',departmentHandler.departments)

// 添加部门路由
router.post('/add_departments',departmentHandler.add_departments)

// 导出路由
module.exports = router